package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 优惠劵配置
 * </p>
 *
 * @author liliping
 * @since 2019-05-20
 */
@TableName("tb_coupon_cfg")
public class TbCouponCfg implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value="coupon_cfg_id")
	private Long couponCfgId;

	/**
	 * 优惠劵名称
	 */
	@TableField(value="coupon_name")
	private String couponName;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 抵扣金额
	 */
	@TableField(value="discount_amt")
	private BigDecimal discountAmt;

	/**
	 * 抵用条件(达到多少金额满减）
	 */
	@TableField(value="discount_cond_amt")
	private BigDecimal discountCondAmt;

	/**
	 * 有效期类型 1:长期有效; 2:1周; 3:15天; 4:1个月; 5:2个月; 6:3个月; 7:6个月; 8：1年
	 */
	@TableField(value="expire_type")
	private Integer expireType;

	/**
	 * 数据状态  0删除  1正常
	 */
	@TableField(value="data_status")
	private Integer dataStatus;
	/**
	 * 优惠卷数量
	 */
    @TableField(value="coupon_num")
	private Integer couponNum;

	/**
	 * 优惠卷类型 1，新人专享 2 ，分享
	 */
	@TableField(value = "coupon_type")
    private Integer couponType;

	/**
	 * 优惠卷剩余数量
	 */
	@TableField(value="coupon_remNum")
	private Integer couponRemNum;


	public Long getCouponCfgId() {
		return couponCfgId;
	}

	public void setCouponCfgId(Long couponCfgId) {
		this.couponCfgId = couponCfgId;
	}

	public String getCouponName() {
		return couponName;
	}

	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getDiscountAmt() {
		return discountAmt;
	}

	public void setDiscountAmt(BigDecimal discountAmt) {
		this.discountAmt = discountAmt;
	}

	public BigDecimal getDiscountCondAmt() {
		return discountCondAmt;
	}

	public void setDiscountCondAmt(BigDecimal discountCondAmt) {
		this.discountCondAmt = discountCondAmt;
	}

	public Integer getExpireType() {
		return expireType;
	}

	public void setExpireType(Integer expireType) {
		this.expireType = expireType;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Integer getCouponNum() {
		return couponNum;
	}

	public void setCouponNum(Integer couponNum) {
		this.couponNum = couponNum;
	}

	public Integer getCouponType() {
		return couponType;
	}

	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}

	public Integer getCouponRemNum() {
		return couponRemNum;
	}

	public void setCouponRemNum(Integer couponRemNum) {
		this.couponRemNum = couponRemNum;
	}
}
